package com.beadhouse.nurcontent.service;

import java.util.Map;

import org.springframework.transaction.annotation.Transactional;

import com.beadhouse.common.dto.QueryResult;
import com.beadhouse.entity.NurContentEntity;
import com.beadhouse.nurcontent.ao.NurContentAo;
import com.beadhouse.nurcontent.dto.NurContentModifyDto;
import com.beadhouse.usermanage.dto.NurListDto;

public interface NurContentService {
	@Transactional
	void addNurContent(NurContentAo nca,int currentId)throws Exception;
	@Transactional
	void deleteNurContent(int id,int currentId,Map<String,Object>map)throws Exception;
	QueryResult<NurContentEntity> selectNurContent(String key,int pageNo)throws Exception;
	@Transactional
	void updateNurContent(int id,Map<String,Object> map)throws Exception;
	NurContentModifyDto selectOne(int id)throws Exception;
}
